#include <cv.h>
#include <highgui.h>

using namespace cv;

int main() {

    Mat test(5, 5, CV_16UC1, Scalar(255*255));

    test.at<unsigned short int>(2, 2) = 1;


    resize(test, test, Size(0,0), 10, 10, INTER_NEAREST);

    namedWindow("Char", CV_WINDOW_AUTOSIZE);
    imshow("Char", test);
    waitKey(0);

    return 0;
}
